package com.qpf.spring.cloud.commons;

import com.qpf.spring.cloud.commons.dto.BaseResult;
import com.qpf.spring.cloud.commons.utils.JsonUtils;

public class CommonHystrix {
    public static String commonHystrix() {
        String result;
        try {
            result = JsonUtils.obj2json(BaseResult.ER("Bad Request: 502"));
        } catch (Exception e) {
            result = "";
        }
        return result;
    }
}
